package avicit.bdp.dgs.qa.utils.constant;

public class QaConstant {
    /**
     * 质量规则默认权重
     */
    public static final Integer DEFAULT_WEIGHT = 10;

    /**
     * 质量作业默认项目空间ID
     */
    public static final String DEFAULT_PROJECT_ID = "777777";

    /**
     * 质量报告相关参数
     */
    public static final String RESULT = "result";
    public static final String SCORE_INFO = "scoreInfo";
    public static final String RULE_DETAIL_INFO = "ruleDetailInfo";
    public static final String BASIC_INFO = "basicInfo";
    public static final String REPORT_JOB_INFO = "jobInfo";
    public static final String REPORT_TABLE_INFO = "tableInfo";
    public static final String REPORT_FILE_INFO = "fileInfo";
    public static final String REPORT_SCORE_INFO = "scoreInfo";
    public static final String REPORT_DETAIL_INFO = "detailInfo";
    public static final String JOB_NORAML = "正常";
    public static final String JOB_ALERT = "告警";
    public static final String DOUBLE_HYPHEN = "--";
    public static final String TASK_RESULT_FIELD_NAME = "value";
    public static final String ALERT_NUM = "alertNum";
    public static final String SCORE = "score";
    public static final String RULE_NUM = "ruleNum";
    public static final String JOB_NAME = "jobName";
    public static final String SEQ_NUM = "seqNum";
    public static final String DATASOURCE_NAME = "datasourceName";
    public static final String DATASOURCE_TYPE = "datasourceType";
    public static final String ROW_NUM = "rowNum";
    public static final String DB_NAME = "dbName";
    public static final String TABLE_NAME = "tableName";
    public static final String EXECUTE_TIME = "executeTime";
    public static final String MEASURE_TYPE_NAME = "measureTypeName";
    public static final String SCHEDULER_TYPE_NAME = "schedulerTypeName";
    public static final int DEFAULT_SCALE = 3;
    public static final String JOB_REPORT_REDIS_KEY = "DGS_QA_JOB_REPORT_REDIS_KEY";
    public static final int JOB_REPORT_FIXED_THREAD_NUM = 8;
    public static final String TYPE = "type";
    public static final String TYPE_NAME = "typeName";
    public static final String MODEL_CODE = "modelCode";
    public static final String AIRCRAFT_NAME = "aircraftName";
    public static final String SORTIE = "sortie";
    public static final String FLIGHT_DATE = "flightDate";
    public static final String TEST_SYSTEM_NAME = "testSystemName";
    public static final String NAME = "name";
    public static final String SIZE = "size";
    public static final String CREATION_DATE = "creationDate";

    /**
     * 质量概览（指标）相关
     */
    public static final String METRIC_RULE_TEMPLATE_NUM = "ruleTemplateNum";

    public static final String METRIC_RULE_NUM = "ruleNum";
    public static final String METRIC_JOB_NUM = "jobNum";
    public static final String METRIC_EXECUTE_JOB_NUM = "executeJobNum";
    public static final String METRIC_ALERT_NUM = "alertNum";

    /**
     * 工单处理相关
     */
    public static final String WORK_ORDER_REDIS_KEY = "DGS_QA_WORK_ORDER_REDIS_KEY";
    public static final int WORK_ORDER_FIXED_THREAD_NUM = 8;

    public static final String COMMA = ",";

    /**
     * 文件校验相关参数
     */
    public static final String FILE_TYPE = "fileType";
    public static final String FTDP_OFFSITE_DATA_ID = "ftdpOffsiteDataId";
}
